package com.star.repository.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.star.common.orm.annotation.OrderBy;
import com.star.common.orm.contract.entity.BasePO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * Demo仓库，主要是给人去学习用(Demo)Demo  实体类
 *
 * @author zhouhengzhe
 * @since 2023-12-01 17:25:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("gateway")
@OrderBy("create_time_desc")
@EqualsAndHashCode(callSuper = true)
public class DemoPO extends BasePO {

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "名字")
    private String name;

}
